package com.example.demo.service;

import com.example.demo.common.pageResult;
import com.example.demo.entiy.Category;
import jakarta.servlet.http.HttpServletRequest;

import java.util.List;

public interface CategoryServiceImp {

    pageResult<Category> getInfo(int page, int pageSize);

    Boolean putCategory(HttpServletRequest request, Category category);

    Boolean changeCateInfo(Category category);

    boolean deletInfo(Long ids);

    List<Category> getName(int type);
}
